package com.example.entity.order;

import com.example.entity.item.Items;
import com.example.entity.order.Order;

public class OrderItem {
    private Order order;
    private Items items;

    public OrderItem(Order order,Items items){
        this.items=items;
        this.order=order;
    }

    @Override
    public String toString() {
        return "OrderItem{" +
                "order=" + order +
                ", items=" + items +
                '}';
    }

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }

    public Items getItems() {
        return items;
    }

    public void setItems(Items items) {
        this.items = items;
    }
}
